﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";    
}
@model MvcETicaretDenemesi.Models.IndexLists

@section banner{
    <!-- Slider -->
    <div id="slider">
        <div id="slider-holder">
            <ul>
                @foreach (var bnr in Model.BannerListe)
                {
                    <li><a href="#"><img src="~/themes/css/images/@bnr.BnrImg" alt="@bnr.BnrDesc" /></a></li>                        
                }
            </ul>
        </div>
        <div id="slider-nav">
            <a href="#" class="prev">Previous</a>
            <a href="#" class="next">Next</a>
        </div>
    </div>
    <!-- End Slider -->
}


@foreach (var item in Model.CategoryListe)
{
    <a href='@Url.Action("List","Product", new{id=item.CategoryId})' style="width:200px; height:200px; float:left; margin:5px; padding:10px; border:solid 1px #000; background-color:white">
        @item.CategoryName
        <img src='~/themes/css/images/@Model.UrunGetir(item.CategoryId).PrdImage' width="200" style="margin-top:50px" />
    </a>
}
<div style="clear:both"></div>
